package com.dy.system.mapper;

import com.dy.system.domain.FreshWarningMsgTypeDetail;

import java.util.List;

/**
 * 告警消息详情Mapper接口
 *
 * @author ruoyi
 * @date 2022-09-15
 */
public interface FreshWarningMsgTypeDetailMapper {
    /**
     * 查询告警消息详情
     *
     * @param id 告警消息详情主键
     * @return 告警消息详情
     */
    public FreshWarningMsgTypeDetail selectFreshWarningMsgTypeDetailById(Long id);

    /**
     * 查询告警消息详情列表
     *
     * @param freshWarningMsgTypeDetail 告警消息详情
     * @return 告警消息详情集合
     */
    public List<FreshWarningMsgTypeDetail> selectFreshWarningMsgTypeDetailList(FreshWarningMsgTypeDetail freshWarningMsgTypeDetail);

    /**
     * 新增告警消息详情
     *
     * @param freshWarningMsgTypeDetail 告警消息详情
     * @return 结果
     */
    public int insertFreshWarningMsgTypeDetail(FreshWarningMsgTypeDetail freshWarningMsgTypeDetail);

    /**
     * 修改告警消息详情
     *
     * @param freshWarningMsgTypeDetail 告警消息详情
     * @return 结果
     */
    public int updateFreshWarningMsgTypeDetail(FreshWarningMsgTypeDetail freshWarningMsgTypeDetail);

    /**
     * 删除告警消息详情
     *
     * @param id 告警消息详情主键
     * @return 结果
     */
    public int deleteFreshWarningMsgTypeDetailById(Long id);

    /**
     * 批量删除告警消息详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFreshWarningMsgTypeDetailByIds(Long[] ids);

    FreshWarningMsgTypeDetail selectWarningTypeByType(String networkStatus);

}
